nested vmx: enable IA32E mode while do VM entry
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:57:26 +0000 (16:57 +0000)
committerDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:57:26 +0000 (16:57 +0000)
commit0684c7dfb1195166f5ad1a43744fea6a1c70f7d3
tree3ade7da27770965507a46360e7d2a051810ed478
parent4a069acdbdc89bafca1da3c88830d97d5105c296
nested vmx: enable IA32E mode while do VM entry

Some VMMs may check the platform capability to judge whether long
mode guest is supported. Therefore we need to expose this bit to
guest VMM.

Xen on Xen works fine in current solution because Xen doesn't
check this capability but directly set it in VMCS if guest
supports long mode.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/vmx/vvmx.c